<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .div {
      height: 100px;
    }
    .my-month-week:hover {
      background-color: antiquewhite;
    }
    .my-week-cell {
      width: 100%;
      height: 32px;
      line-height: 32px;
      text-align: center;
      padding: 0;
      margin: 0;
      cursor: pointer;
    }
    .my-week-cell:hover {
      background-color: antiquewhite;
    }
  </style>
</head>
<body>
  <p><input type="text" id="date" readonly></p>
  <div>
  </div>


  <div class="a">
    
  </div>
</body>
<script src="./jquery@3.7.1.min.js"></script>
<script src="./weekpicker2.js"></script>
<script>
  // 每个月都显示5个周
  // $('#date').weekpicker({})

  $('#date').weekpicker2({statement: '12-1'})

  function search() {
    const v = $('#date').weekpicker('getValue')
  }

  function reset() {
    $('#date').weekpicker('clear')
  }

</script>
</html>